package com.dingreading.cloud.soms.service.impl;

import com.dingreading.cloud.soms.entity.MstCaCallNames;
import com.dingreading.cloud.soms.entity.table.MstCaCallNamesTableDef;
import com.dingreading.cloud.soms.mapper.MstCaCallNamesMapper;
import com.dingreading.cloud.soms.service.MstCaCallNamesService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务层实现。
 *
 * @author Administrator
 * @since 2024-10-21
 */
@Service
public class MstCaCallNamesServiceImpl extends BaseServiceImpl<MstCaCallNamesMapper, MstCaCallNames, MstCaCallNamesTableDef> implements MstCaCallNamesService {

    @Override
    protected MstCaCallNamesTableDef getTable() {
        return MstCaCallNamesTableDef.mstCaCallNames;
    }

    @Override
    public List<MstCaCallNames> listByStoreUid(String mstStoreUid) {
        return getMapper().selectListByCondition(table.storeUid.eq(mstStoreUid));
    }
}
